home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Windows Selection / Windows Selection 1.iso / Programmer's Utilities / Freeman Installer / strlines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-10  |  316 b   |  24 lines

  1. #define __STRLINES_H
  2.  
  3.  
  4. class strlines
  5. {
  6.    char *q;
  7.    char *p;
  8.  
  9.    public:
  10.  
  11.    strlines()
  12.    {
  13.       q = 0;
  14.       p = 0;
  15.    }
  16.  
  17.    int hasmore();
  18.    int getnolines(char s[]);
  19.    void start(char s[]);
  20.    void proceed();
  21.    void peek(char b[]);
  22.    void getline(char s[], int i, char line[]);
  23. };
  24.